/*
package com.xinzhi.stduyspringboot.conf;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Service;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

@Configuration
public class MvcConfig extends WebMvcConfigurationSupport {

    @Servicef
    public class UserTokenInterceptor implements HandlerInterceptor {
        @Autowired
        private SysusertokenMapper sysusertokenMapper;
        @Autowired
        private SysloginuserMapper sysloginuserMapper;
        @Autowired
        private SysuserMapper sysuserMapper;
        @Override
        public boolean preHandle(HttpServletRequest request, HttpServletResponse
                response, Object handler)
                throws Exception {
//处理内容
            return isAccess;
        }
        @Override
        public void postHandle(HttpServletRequest request, HttpServletResponse
                response, Object handler,
                               ModelAndView modelAndView) throws Exception {
        }
        @Override
        public void afterCompletion(HttpServletRequest request, HttpServletResponse
                response, Object handler, Exception ex)
                throws Exception {
        }
    }


}
*/
